<!-- 我的表格 -->

<template>
  <div class="full">
    <div class="flexCC">
      <span class="flex0 flexCC"></span>
      <span class="flex3 flexCC">类型</span>
      <span class="flex2 flexCC">正常</span>
      <span class="flex2 flexCC">离线</span>
      <span class="flex2 flexCC">{{ CORE.MAP.ALARM }}</span>
      <span class="flex0 flexCC"></span>
    </div>

    <div v-for="item in info.list" :key="item[0]" class="flexCC">
      <span class="flex0 flexCC">
        <CommonSvg :src="CORE.imageIOT({ deviceCategoryId: '1', deviceTypeId: item[0] })" />
      </span>
      <span class="flex3 flexCC">
        <span class="ellips">{{ item[1] }}</span>
      </span>
      <span class="flex2 flexCC">{{ CORE.numStr(item[2]) }}</span>
      <span class="flex2 flexCC">{{ CORE.numStr(item[3]) }}</span>
      <span class="flex2 flexCC">{{ CORE.numStr(item[4]) }}</span>
      <span class="flex0 flexCC"></span>
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixScreen()],
}
</script>
